idea的Could not find artifact org.springframework:spring

您所在的位置:网站首页 csgohltvResults org idea的Could not find artifact org.springframework:spring

idea的Could not find artifact org.springframework:spring

#idea的Could not find artifact org.springframework:spring| 来源: 网络整理| 查看: 265

这个错误针对阿里云,idea后面带的有一个链接,也就是https://maven.aliyun.com/mvn/guide

点进去,

看那个maven配置指南上一步一步配,

这样应该可以了

记得把下载失败的删除掉,我用的是,其中有个地方要改成自己的maven的路径,

@echo off rem create by sunhao([email protected]) rem crazy coder rem 这里写你的仓库路径 set REPOSITORY_PATH=E:\apache-maven-3.6.3\repository rem 正在搜索... for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"') do ( del /s /q %%i ) rem 搜索完毕 pause

 

最后把后缀改成bat

点击就可以运行了

 

再次更新我查找仓库内容

然后我把版本改了一下就好了

终于构建成功了



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3